package com.bbcare.mqservice.entity;

import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import net.sf.jsqlparser.expression.DateTimeLiteralExpression;

/**
 * <p>
 * 
 * </p>
 *
 * @author gxl
 * @since 2020-03-30
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class Message implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 消息内容
     */
    private String message;

    /**
     * 消息类型
     */
    private String type;

    /**
     * 消息结果
     */
    private String result;

    /**
     * 来源地址
     */
    @TableField("oriIp")
    private String oriIp;

    /**
     * 转发地址
     */
    @TableField("endIp")
    private String endIp;

    /**
     * 消息时间
     */
    @TableField("creatTime")
    private LocalDateTime creatTime;

    /**
     * 结束时间
     */
    @TableField("endTime")
    private LocalDateTime endTime;

    /**
     * 尝试次数
     */
    private Integer times;


}
